var ccidata = {};
ccidata.getJson = function() {
	var json = {"GroupType":"IntersectionGroup","values":[{"name":"a","value":"b","restriction":""}],"groups":[{"GroupType":"IntersectionGroup","values":[{"name":"1","value":"2","restriction":""}],"groups":[{"GroupType":"UnionGroup","values":[{"name":"1a","value":"2a","restriction":""}],"groups":[]}]},null,{"GroupType":"UnionGroup","values":[{"name":"3","value":"3","restriction":""}],"groups":[]}]};
	return json;
};

ccidata.getTreeData = function () {
	var dynaTreeData = [
	                	{"title": "Item 1"},
	                	{"title": "Folder 2", "isFolder": true, "key": "folder2", "expand": true,
	                		"children": [
	                			{"title": "Sub-item 2.1",
	                				"children": [
	                							{"title": "Sub-item 2.1.1",
	                								"children": [
	                                                            {"title": "Sub-item 2.1.1.1"},
	                                                            {"title": "Sub-item 2.1.2.2"},
	                                                            {"title": "Sub-item 2.1.1.3"},
	                                                            {"title": "Sub-item 2.1.2.4"}
	                										]
	                								},
	                                            {"title": "Sub-item 2.1.2"},
	                                            {"title": "Sub-item 2.1.3"},
	                                            {"title": "Sub-item 2.1.4"}
	                						]
	                				},
	                            {"title": "Sub-item 2.2"},
	                            {"title": "Sub-item 2.3"}
	                		]
	                	},
	                	{"title": "Folder 3", "isFolder": true, "key": "folder3",
	                		"children": [
	                			{"title": "Sub-item 3.1",
	                				"children": [
	                                            {"title": "Sub-item 3.1.1"},
	                                            {"title": "Sub-item 3.1.2"},
	                                            {"title": "Sub-item 3.1.3"},
	                                            {"title": "Sub-item 3.1.4"}
	                						]
	                				},
	                            {"title": "Sub-item 3.2"},
	                            {"title": "Sub-item 3.3"},
	                            {"title": "Sub-item 3.4"}
	                		]
	                	},
	                    {"title": "Item 5"}
	                ];
	
	return dynaTreeData;
};

ccidata.getListData = function() {
	var data = [{"CompanyName":"Alfreds Futterkiste","ContactName":"Maria Anders","ContactTitle":"Sales Representative","Address":"Obere Str. 57","City":"Berlin","Country":"Germany"}
				,{"CompanyName":"Ana Trujillo Emparedados y helados","ContactName":"Ana Trujillo","ContactTitle":"Owner","Address":"Avda. de la Constitucin 2222","City":"Mxico D.F.","Country":"Mexico"}
				,{"CompanyName":"Antonio Moreno Taquera","ContactName":"Antonio Moreno","ContactTitle":"Owner","Address":"Mataderos 2312","City":"Mxico D.F.","Country":"Mexico"}
				,{"CompanyName":"Around the Horn","ContactName":"Thomas Hardy","ContactTitle":"Sales Representative","Address":"120 Hanover Sq.","City":"London","Country":"UK"}
				,{"CompanyName":"Berglunds snabbkp","ContactName":"Christina Berglund","ContactTitle":"Order Administrator","Address":"Berguvsvgen 8","City":"Lule","Country":"Sweden"}
				,{"CompanyName":"Blauer See Delikatessen","ContactName":"Hanna Moos","ContactTitle":"Sales Representative","Address":"Forsterstr. 57","City":"Mannheim","Country":"Germany"}
				,{"CompanyName":"Blondesddsl pre et fils","ContactName":"Frdrique Citeaux","ContactTitle":"Marketing Manager","Address":"24, place Klber","City":"Strasbourg","Country":"France"}
				,{"CompanyName":"Blido Comidas preparadas","ContactName":"Martn Sommer","ContactTitle":"Owner","Address":"C\/ Araquil, 67","City":"Madrid","Country":"Spain"}
				,{"CompanyName":"Bon app'","ContactName":"Laurence Lebihan","ContactTitle":"Owner","Address":"12, rue des Bouchers","City":"Marseille","Country":"France"}
				,{"CompanyName":"Bottom-Dollar Markets","ContactName":"Elizabeth Lincoln","ContactTitle":"Accounting Manager","Address":"23 Tsawassen Blvd.","City":"Tsawassen","Country":"Canada"}
				,{"CompanyName":"B's Beverages","ContactName":"Victoria Ashworth","ContactTitle":"Sales Representative","Address":"Fauntleroy Circus","City":"London","Country":"UK"}
				,{"CompanyName":"Cactus Comidas para llevar","ContactName":"Patricio Simpson","ContactTitle":"Sales Agent","Address":"Cerrito 333","City":"Buenos Aires","Country":"Argentina"}
				,{"CompanyName":"Centro comercial Moctezuma","ContactName":"Francisco Chang","ContactTitle":"Marketing Manager","Address":"Sierras de Granada 9993","City":"Mxico D.F.","Country":"Mexico"}
				,{"CompanyName":"Chop-suey Chinese","ContactName":"Yang Wang","ContactTitle":"Owner","Address":"Hauptstr. 29","City":"Bern","Country":"Switzerland"}
				,{"CompanyName":"Comrcio Mineiro","ContactName":"Pedro Afonso","ContactTitle":"Sales Associate","Address":"Av. dos Lusadas, 23","City":"Sao Paulo","Country":"Brazil"}
				,{"CompanyName":"Consolidated Holdings","ContactName":"Elizabeth Brown","ContactTitle":"Sales Representative","Address":"Berkeley Gardens 12 Brewery","City":"London","Country":"UK"}
				,{"CompanyName":"Drachenblut Delikatessen","ContactName":"Sven Ottlieb","ContactTitle":"Order Administrator","Address":"Walserweg 21","City":"Aachen","Country":"Germany"}
				,{"CompanyName":"Du monde entier","ContactName":"Janine Labrune","ContactTitle":"Owner","Address":"67, rue des Cinquante Otages","City":"Nantes","Country":"France"}
				,{"CompanyName":"Eastern Connection","ContactName":"Ann Devon","ContactTitle":"Sales Agent","Address":"35 King George","City":"London","Country":"UK"}
				,{"CompanyName":"Ernst Handel","ContactName":"Roland Mendel","ContactTitle":"Sales Manager","Address":"Kirchgasse 6","City":"Graz","Country":"Austria"}
				];
	return data;
};

ccidata.getHasValueData = function() {
	var hasValueTypeSelectbox = "{items:[{'key':'HasValue','value':'HasValueRestriction'},{'key':'SomeValuesFrom','value':'SomeValuesFromRestriction'},{'key':'AllValuesFrom','value':'AllValuesFromRestriction'},{'key':'MaxCardinality','value':'MaxCardinality'},{'key':'MinCardinality','value':'MinCardinality'},]}";
	return hasValueTypeSelectbox;	
};

ccidata.getTypeValueData = function() {
	var cciTypeSelectbox = "{items:[{'key':'Intersection','value':'IntersectionGroup'},{'key':'Union','value':'UnionGroup'},]}";
	return cciTypeSelectbox; 
};


